package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author wanghang
 * @date 2022/6/15 11:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CheckPhoneDto implements Serializable {

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotBlank(message = "短信验证码不能为空")
    private String phoneCode;

    private String oldPhone;
    private String oldPhoneCode;


    private String userId;
    private String token;

}
